package com.qqhf.hitfood.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "biz_order")
public class BizOrder implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 地址id
     */
    @ApiModelProperty(value = "地址id", position = 5)
    private Integer addressId;
    /**
     * 配送费
     */
    @ApiModelProperty(value = "配送费", position = 7)
    private Double feeDely;
    /**
     * 打包费
     */
    @ApiModelProperty(value = "打包费", position = 6)
    private Double feePack;
    /**
     * 总价
     */
    @ApiModelProperty(value = "总价", position = 8)
    private Double feeTotal;
    /**
     * 订单表id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "订单表id", position = 1)
    private Integer id;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号", position = 2)
    private String orderNum;
    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id", position = 4)
    private Integer shopId;
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态", position = 9)
    private Integer stId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", position = 3)
    private Integer userId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 10)
    private Timestamp createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", position = 11)
    private Timestamp modifyTime;
}
